package HibernateFacet;

import java.util.HashSet;
import java.util.Set;

/**
 * UserInformation entity. @author MyEclipse Persistence Tools
 */

public class UserInformation implements java.io.Serializable {

	// Fields

	private Integer id;
	private String name;
	private String password;
	private Integer privilege;
	private String phoneNumber;
	private Set installationManagements = new HashSet(0);

	// Constructors

	/** default constructor */
	public UserInformation() {
	}

	/** minimal constructor */
	public UserInformation(String name, String password, Integer privilege, String phoneNumber) {
		this.name = name;
		this.password = password;
		this.privilege = privilege;
		this.phoneNumber = phoneNumber;
	}

	/** full constructor */
	public UserInformation(String name, String password, Integer privilege, String phoneNumber,
			Set installationManagements) {
		this.name = name;
		this.password = password;
		this.privilege = privilege;
		this.phoneNumber = phoneNumber;
		this.installationManagements = installationManagements;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Integer getPrivilege() {
		return this.privilege;
	}

	public void setPrivilege(Integer privilege) {
		this.privilege = privilege;
	}

	public String getPhoneNumber() {
		return this.phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	public Set getInstallationManagements() {
		return this.installationManagements;
	}

	public void setInstallationManagements(Set installationManagements) {
		this.installationManagements = installationManagements;
	}

}